POV-Ray : Newsgroups : povray.binaries.images : Narnia V2 [71kb] : Narnia V2 [71kb] Server Time
16 Aug 2024 14:16:39 EDT (-0400)
  Narnia V2 [71kb]  
From: Tom Melly
Date: 22 Jan 2002 05:14:41
Message: <3c4d3b91@news.povray.org>
WIP 4 IRTC

Now with traced trees - 20,000 of them. Took me a while to find a way of making
trees that didn't eat up memory. Managed it by combining meshes and cylinders
and adapting quality depending on distance.

There were meant to be stars as well, but I made a boo-boo...

--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message


Attachments:
Download 'main.jpg' (72 KB)

Preview of image 'main.jpg'
main.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.